<!DOCTYPE html>
<html>
 <meta charset='utf-8'/>
<script>
var age=28;
var HaveFriend=false;

var HaveHouse=false;
var HaveCar=false;
var money=50000;

var schoolName="北大";

alert((age>=28&&!HaveFriend)&&((HaveHouse&&HaveCar&&money>=1000000)||(schoolName=="北大")));
</script>
</html>